package com.kaifamiao.thread.d0928;

public class Demo08 {

    public static void main(String[] args) {
        ThreadLocal threadLocal = new ThreadLocal<>(); // main

        threadLocal.set(1);
        threadLocal.set(2);

        System.out.println(threadLocal.get());

    }
}
